import { createApp } from 'vue'
import App from './App.vue'
// 引入Element-plus

import 'element-plus/lib/theme-chalk/index.css'
import ElementPlus from 'element-plus'
import router from './router'
import store from './store/index'

import { Button, Cell, CellGroup, Form, Field } from 'vant';

// import 'amfe-flexible'
// import 'amfe-flexible/index.js'
// import './libs/rem.js'

const app = createApp(App);
app.use(ElementPlus)
app.use(router)
app.use(store)
// vant插件 按需引入
app.use(Button)
app.use(Cell)
app.use(CellGroup)
app.use(Form)
app.use(Field)

app.mount('#app')
